package com.ruoyi.entity.mapper;

import com.ruoyi.entity.BusTaskGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author eversec
* @description 针对表【bus_task_group(任务分组)】的数据库操作Mapper
* @createDate 2024-07-24 09:53:17
* @Entity com.ruoyi.entity.BusTaskGroupEntity
*/
public interface BusTaskGroupMapper  {
    public int insertTask(BusTaskGroupEntity entity);

    List<BusTaskGroupEntity> getGroups(@Param("userId") Integer userId,
                                       @Param("rootId")  Integer rootId,
                                       @Param("parentId")  Integer parentId,
                                       @Param("level")  Integer level);
}




